package com.alexrnl.BetaSeriesFileManager;

import com.alexrnl.BetaSeriesFileManager.API.BetaSeriesXML;
import com.alexrnl.BetaSeriesFileManager.API.entities.Show;
import com.alexrnl.BetaSeriesFileManager.API.interfaces.IBetaSeries;

/**
 * Launcher for the application.
 */
public class App {

	/**
	 * Entry point for the application
	 * @param args
	 *            the command line arguments
	 */
	public static void main (final String[] args) {
		final IBetaSeries betaseries = new BetaSeriesXML();

		System.out.println("API status: " + betaseries.getStatus());
		for (final Show show : betaseries.searchShows("dex")) {
			System.out.println("Show: " + show.getTitle() + " (" + show.getUrl() + ").");
		}
	}
}
